<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动及其定位2</title>
    <style>
        .box {
            width: 100px;
            height: 100px;
            display: inline-block;
            border-radius: 50%;
            background-color: black;
            color: white;
            text-align: center;
            line-height: 100px;
            /* overflow: hidden; */
            font-size: 50px;
        }
       

        .box2 {
            width: 100px;
            height: 100px;
            display: inline-block;
            border-radius: 50%;
            background-color: blue;
            color: white;
            /* overflow: hidden; */
            text-align: center;
            line-height: 100px;
            font-size: 50px;
            margin: 0;

        }

        .box3 {
            float: left;
            /* -webkit-shape-outside: circle(50%); */
            /* shape-outside: inset(50%round); */
            shape-margin: 0%;
            height: 200px;
            width: 200px;
            /* overflow: hidden; */
        }
    </style>
</head>

<body>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box">前</div>
    <div class="box2">后</div>
    <img class="box3" src="image/紫星.png" alt="">
    <!-- 行内块状元素会将其他块状元素顶下去，浮动不会 -->
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>
    <div class="box2">后</div>

</body>

</html>